package com.vf.admin.miaodong.entity;


import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 家族
 */
@Data
@Table(name = "app_family")
public class AppFamily implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column(length = 11, name = "id", index = true)
    private Integer id;
    //家族ID
    private Integer familyid;
    //家族名称
    private String familyname;
    //成员人数
    private Integer familycount;
    //家族总威望值
    private Integer prestigenum;
    //家族公告
    private String familynotice;
    //家族封面图
    private String pic;
    //状态，0正常，1禁用，2解散，3待审核，4已拒绝
    private Integer status;
    //创建时间
    private Date createtime;
    //修改时间
    private Date updatetime;
    //家族级别
    private Integer familylevel;
    //是否禁言，0不禁，1禁言
    private Integer jinyan;
    //加入密码
    private String familypwd;
    //族长id
    private Integer leaderid;
    //城市id
    private Integer addrshi;
    //经度
    private String lon;
    //纬度
    private String lat;
    //拒绝原因
    private String refuseText;

    ///////////////////////////////
    @NoColumn
    private AppUser leaderInfo;
    @NoColumn
    private List<AppFamilyMember> memberInfo;
    @NoColumn
    private Integer dayRanking;
    @NoColumn
    private Integer weekRanking;
    @NoColumn
    private Integer allRanking;
    @NoColumn
    private String leaderName;
    @NoColumn
    private Integer levelMaxPrestige;
    @NoColumn
    private BigDecimal totalPrestige;
    @NoColumn
    private Integer isAddFamily; //是否已加入 0待审核 1已加入 2未加入
    @NoColumn
    private Integer familyMaxCount;
    @NoColumn
    private String beginTime;
    @NoColumn
    private String endTime;
    @NoColumn
    private String leaderPhone;
    //审核类型，1通过，2拒绝
    @NoColumn
    private Integer verifyType;



}
